package cn.iocoder.yudao.module.hs.controller.admin.picktask.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 拣货任务 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PickTaskRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16419")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "任务单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("任务单号")
    private String code;

    @Schema(description = "出库单ID", example = "5090")
    @ExcelProperty("出库单ID")
    private Long shipOrderId;

    @Schema(description = "发货单号")
    @ExcelProperty("发货单号")
    private String shipOrderCode;

    @Schema(description = "状态：TO_BE_PICKED-待拣货；PICKING-拣货中；PICK_OVER-拣货完成", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态：TO_BE_PICKED-待拣货；PICKING-拣货中；PICK_OVER-拣货完成")
    private String status;

    @Schema(description = "任务类型：PICK-拣货；LOW_BATTERY-低电量更换标签", example = "1")
    @ExcelProperty("任务类型：PICK-拣货；LOW_BATTERY-低电量更换标签")
    private String taskType;

    @Schema(description = "待更换的低电量RFID编码")
    @ExcelProperty("待更换的低电量RFID编码")
    private String rfidCode;

    @Schema(description = "仓库分类：生产仓库-PRODUCTION；三方仓库-THIRD")
    @ExcelProperty("仓库分类")
    private String warehouseType;

    @Schema(description = "分派人ID", example = "30666")
    @ExcelProperty("分派人ID")
    private Long assignUserId;

    @Schema(description = "分派人名", example = "李四")
    @ExcelProperty("分派人名")
    private String assignUserName;

    @Schema(description = "仓库ID", example = "30666")
    private Long warehouseId;

    @Schema(description = "仓库部门ID", example = "30666")
    private Long deptId;

    @Schema(description = "拣货开始时间")
    @ExcelProperty("拣货开始时间")
    private LocalDateTime pickStartTime;

    @Schema(description = "拣货完成时间")
    @ExcelProperty("拣货完成时间")
    private LocalDateTime pickCompleteTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}